package com.yxhl.zoume.data.http.repository.appraisal;

import com.yxhl.zoume.data.http.rest.param.appraisal.AppraisalLabelParam;
import com.yxhl.zoume.data.http.rest.param.appraisal.AppraisalParam;
import com.yxhl.zoume.data.http.rest.param.appraisal.AppraisalResultParam;
import com.yxhl.zoume.data.http.rest.response.appraisal.AppraisalLabelResponse;
import com.yxhl.zoume.data.http.rest.response.appraisal.AppraisalResponse;
import com.yxhl.zoume.data.http.rest.response.appraisal.AppraisalResultResponse;

import rx.Observable;

/**
 * Created by vhawk on 16/9/18.
 */
public interface AppraisalRepository {

    /**
     * 司机评论(4期)
     *
     * @param param
     * @return
     */
    Observable<AppraisalResponse> appraiseDriver(AppraisalParam param);


    /**
     * 获取评价标签
     *
     * @param param
     * @return
     */
    Observable<AppraisalLabelResponse> fetchAppraisalLabel(AppraisalLabelParam param);

    /**
     * 查看评价结果
     *
     * @param param
     * @return
     */
    Observable<AppraisalResultResponse> fetchAppraisalResult(AppraisalResultParam param);
}
